package lab02.test29;

public class test {
    public static void main(String[] args) {
        int [] number=new int[5];
        number[0]=45;
        number[1]=45;
        number[2]=45;
        number[3]=45;
        number[4]=45;
        try {
            System.out.println(number[5]);
        }catch (ArrayIndexOutOfBoundsException e){
            System.out.println("数组下标越界");
    }finally {
            System.out.println("不管怎么样都会执行的代码");
        }
        }
}
